﻿using PureMVC.Interfaces;
using PureMVC.Patterns;
using System.Windows.Forms;

namespace SMS.Core.Controller.Commands
{
    class ShutdownCommand : SimpleCommand, ICommand
    {
        public override void Execute(INotification notification)
        {
            switch (notification.Name)
            {
                case ApplicationConstants.SHUTDOWN:
                    Application.Exit();
                    break;
            }
        }
    }
}
